import { createApp } from 'vue'

/**
	获取某个组件渲染的Dom根元素
*/
export default function (comp: any, props?: any, parent?: any) {
  const app = createApp(comp, props)
  return app.mount(parent).$el
}
